package com.ocom.common.entity.aiot;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: TODO
 * @Author: 朱晖
 * @Date: 2022/8/24
 **/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName(value = "ota_push_info")
public class EntityOtaPushInfo  implements Serializable {


	private static final long serialVersionUID = 8955202678724994717L;


	@TableId(value = "id", type = IdType.AUTO)
	private Long Id;

	private String deviceNo;
	private String appVer;
	private String pushVer;

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+08")
	@TableField(fill = FieldFill.INSERT)
	private Date createTime;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+08")
	@TableField(fill = FieldFill.INSERT_UPDATE)
	private Date updateTime;
}
